
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/gatling.js"></script>
<script src="js/menu.js"></script>
<script src="js/ellipsis.js"></script>
<script src="js/all_sessions.js"></script>
<script src="js/stats.js"></script>
<script src="js/highstock.js"></script>
<script src="js/highcharts-more.js"></script>
<script src="js/theme.js"></script>
<script src="js/unpack.js"></script>
<title>Gatling Stats - Global Information</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
  <div class="gatling-open-source">
    <a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
    <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  </div>
  <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
  <div class="nav">
    <ul></ul>
  </div>
    <div class="cadre">
      <div class="content">
        <div class="content-header">
          <div class="onglet">
            RinhaBackendSimulation
          </div>
          <div class="sous-menu" id="sousMenu">
            <div class="sous-menu-spacer">
              <div class="item ouvert"><a href="index.html">Global</a></div>
                <div class="item "><a id="details_link" href="#">Details</a></div>
              </div>
            </div>
          </div>
          <div class="content-in">
            <div class="container-article">
            <div class="article">
              
              
<div class="schema-container">

            <div id="ranges" class="schema ranges">
            </div>

            <div class="schema polar">
              <div id="container_number_of_requests"></div>
            </div>
<div class="simulation-card">
  <div class="simulation-version-information">
  <span class="simulation-information-title">Gatling Version</span>
    <span class="simulation-information-item">
      <span class="simulation-information-label">Version: </span>
      <span>3.9.5</span>
    </span>
    <span class="simulation-information-item">
      <span class="simulation-information-label">Released: </span>
      <span>2023-05-10</span>
    </span>
  </div>
  <div id="simulation-information" class="simulation-version-information">
    <span class="simulation-information-title">Run Information</span>
    <div class="simulation-information-container">
      <span class="simulation-information-item">
        <span class="simulation-information-label">Date: </span>
        <span>2023-08-23 15:04:03 GMT</span>
      </span>
      <span class="simulation-information-item">
        <span class="simulation-information-label">Duration: </span>
        <span>3m 25s </span>
      </span>
      <span class="simulation-tooltip simulation-information-item description" title="Description" data-content="brahma">
        <span class="simulation-information-label">Description: </span>
        <span>brahma</span>
      </span>

    </div>
  </div>
</div>
</div>

                      <div id="statistics_table_container">
                        <div id="stats" class="statistics extensible-geant collapsed">
                            <div class="title">
                              <div id="statistics_title" class="title_base"><span class="title_base_stats">Stats</span><span class="expand-table">Fixed height</span><span id="toggle-stats" class="toggle-table"></span><span class="collapse-table">Full size</span></div>
                              <div class="right">
                                  <button id="statistics_full_screen" class="statistics-button" onclick="openStatisticsTableModal()">Full Screen</button>
                                  <button class="statistics-button expand-all-button">Expand all groups</button>
                                  <button class="statistics-button collapse-all-button">Collapse all groups</button>
                              </div>
                            </div>
                            <div class="scrollable">
                              <table id="container_statistics_head" class="statistics-in extensible-geant">
                                  <thead>
                                      <tr>
                                          <th rowspan="2" id="col-1" class="header sortable sorted-up"><span>Requests</span></th>
                                          <th colspan="5" class="header"><span class="executions">Executions</span></th>
                                          <th colspan="8" class="header"><span class="response-time">Response Time (ms)</span></th>
                                      </tr>
                                      <tr>
                                          <th id="col-2" class="header sortable"><span>Total</span></th>
                                          <th id="col-3" class="header sortable"><span>OK</span></th>
                                          <th id="col-4" class="header sortable"><span>KO</span></th>
                                          <th id="col-5" class="header sortable"><span>% KO</span></th>
                                          <th id="col-6" class="header sortable"><span><abbr title="Count of events per second">Cnt/s</abbr></span></th>
                                          <th id="col-7" class="header sortable"><span>Min</span></th>
<th id="col-8" class="header sortable"><span>50th pct</span></th>
<th id="col-9" class="header sortable"><span>75th pct</span></th>
<th id="col-10" class="header sortable"><span>95th pct</span></th>
<th id="col-11" class="header sortable"><span>99th pct</span></th>
<th id="col-12" class="header sortable"><span>Max</span></th>
<th id="col-13" class="header sortable"><span>Mean</span></th>
<th id="col-14" class="header sortable"><span><abbr title="Standard Deviation">Std Dev</abbr></span></th>
                                      </tr>
                                  </thead>
                                  <tbody></tbody>
                              </table>
                              <table id="container_statistics_body" class="statistics-in extensible-geant">
                                  <tbody></tbody>
                              </table>
                            </div>
                        </div>
                      </div>
<dialog id="statistics_table_modal" class="statistics-table-modal">
  <div class="statistics-table-modal-header"><button class="button-modal" onclick="closeStatisticsTableModal()">x</button></div>
  <div class="statistics-table-modal-container">
    <div id="statistics_table_modal_content" class="statistics-table-modal-content"></div>
  </div>
</dialog>
<script>
function openStatisticsTableModal () {
  const statsTable = document.getElementById("stats");
  const statsTableModal = document.getElementById("statistics_table_modal");
  const fullScreenButton = document.getElementById("statistics_full_screen");

  fullScreenButton.disabled = true;

  if (typeof statsTableModal.showModal === "function") {
    const statsTableModalContent = document.getElementById("statistics_table_modal_content");

    statsTableModalContent.innerHTML = "";
    statsTableModalContent.appendChild(statsTable);
    statsTableModal.showModal();

    statsTableModal.addEventListener("close", function () {
      const container = document.getElementById("statistics_table_container");

      container.appendChild(statsTable);
      fullScreenButton.disabled = false;
    });
  } else {
    const incompatibleBrowserVersionMessage = document.createElement("div");

    incompatibleBrowserVersionMessage.innerText = "Sorry, the <dialog> API is not supported by this browser.";
    statsTable.insertBefore(incompatibleBrowserVersionMessage, statsTable.children[0]);
  }
}

function closeStatisticsTableModal () {
  const statsTableModal = document.getElementById("statistics_table_modal");

  statsTableModal.close();
}
</script>
<div class="statistics extensible-geant collapsed">
    <div class="title">
        Errors
    </div>
    <table id="container_errors" class="statistics-in extensible-geant">
        <thead>
            <tr>
                <th id="error-col-1" class="header sortable"><span>Error</span></th>
                <th id="error-col-2" class="header sortable"><span>Count</span></th>
                <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
            </tr>
        </thead>
		<tbody>
		    
		    <tr>
		    	<td class="error-col-1 total ko">status.find.in(201,422,400), but actually found 502<span class="value" style="display:none">0</span></td>
		    	<td class="value error-col-2 total ko">48451</td>
		    	<td class="value error-col-3 total ko">70.846 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">status.find.in([200, 209], 304), found 502<span class="value" style="display:none">1</span></td>
		    	<td class="value error-col-2 total ko">8553</td>
		    	<td class="value error-col-3 total ko">12.506 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">j.i.IOException: Premature close<span class="value" style="display:none">2</span></td>
		    	<td class="value error-col-2 total ko">7616</td>
		    	<td class="value error-col-3 total ko">11.136 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">status.find.is(400), but actually found 502<span class="value" style="display:none">3</span></td>
		    	<td class="value error-col-2 total ko">3762</td>
		    	<td class="value error-col-3 total ko">5.501 %</td>
		    </tr>
		    <tr>
		    	<td class="error-col-1 total ko">status.find.is(400), but actually found 200<span class="value" style="display:none">4</span></td>
		    	<td class="value error-col-2 total ko">7</td>
		    	<td class="value error-col-3 total ko">0.01 %</td>
		    </tr>
		</tbody>
    </table>
</div>

            <div class="schema geant">
              <div id="active_users" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimeDistributionContainer" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="requests" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="responses" class="geant"></div>
            </div>

            </div>
          </div>
        </div>
      </div>
    </div>
</div>
<script>
    var pageStats = stats.stats;
    $(document).ready(function() {
        $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
        setDetailsLinkUrl();
        setGlobalMenu();
        setActiveMenu();
        fillStats(pageStats);
        
Highcharts.setOptions({
  global: { useUTC: false }
});

var rangesChart = new Highcharts.Chart({
  chart: {
    renderTo: 'ranges',
    marginRight: 100
  },
  credits: { enabled: false },
  legend: { enabled: false },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  xAxis: {
    categories: [
      pageStats.group1.htmlName,
      pageStats.group2.htmlName,
      pageStats.group3.htmlName,
      pageStats.group4.htmlName
    ]
  },
  yAxis: {
    title: { text: 'Number of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      var s;
      if (this.point.name) { // the pie chart
        s = ''+ this.point.name +': '+ this.y +'% requests';
      } else {
        s = ''+ this.y + ' requests';
      }
      return s;
    }
  },
  plotOptions: {
    series: {
      stacking: 'normal',
      shadow: true
    }
  },
  series: [
    {
      type: 'column',
      data: [{
      	color: '#68b65c',
      	y: pageStats.group1.count
      },
      {
      	color: '#FFDD00',
      	y: pageStats.group2.count
      },
      {
      	color: '#FFA900',
      	y: pageStats.group3.count
      },
      {
      	color: '#f15b4f',
      	y: pageStats.group4.count
      }]
    },
    {
      type: 'pie',
      name: 'Percentages',
      data: [
        {
          name: pageStats.group1.name,
          y: pageStats.group1.percentage,
          color: '#68b65c'
        },
        {
          name: pageStats.group2.name,
          y: pageStats.group2.percentage,
          color: '#FFDD00'
        },
        {
          name: pageStats.group3.name,
          y: pageStats.group3.percentage,
          color: '#FFA900'
        },
        {
          name: pageStats.group4.name,
          y: pageStats.group4.percentage,
          color: '#f15b4f'
        }
      ],
      center: [345, 0],
      size: 90,
      showInLegend: false,
      dataLabels: { enabled: false }
    }
  ]
});

rangesChart.setTitle({
  text: '<span class="chart_title">Response Time Ranges</span>',
  useHTML: true
});

function numberOfRequestsDataForGroup(group) {
  var data = {names: [], oks: [], kos: []};

  $.each(group.contents, function(contentName, content) {
    if (content.type == 'GROUP') {
      var result = numberOfRequestsDataForGroup(content);
      data.names = data.names.concat(result.names);
      data.oks = data.oks.concat(result.oks);
      data.kos = data.kos.concat(result.kos);
    }
    else if (content.type == 'REQUEST') {
      data.names.push(content.path);
      data.oks.push(parseInt(content.stats.numberOfRequests.ok));
      data.kos.push(parseInt(content.stats.numberOfRequests.ko));
    }
  });

  return data;
}

var numberOfRequestsData = numberOfRequestsDataForGroup(stats);
var tickInterval = Math.ceil(numberOfRequestsData.names.length / 1000);

new Highcharts.Chart({
  chart: {
    renderTo:'container_number_of_requests',
    polar:true,
    type:'column',
    height:330
  },
  credits:{
    enabled:false
  },
  title:{
    text:'<span class="chart_title">Number of requests</span>',
    useHTML: true,
    widthAdjust:-20
  },
  xAxis:{
    tickmarkPlacement:'on',
    tickInterval: tickInterval,
    categories:numberOfRequestsData.names,
    labels:{ enabled:false }
  },
  yAxis:{
    min:0,
    reversedStacks: false
  },
  plotOptions:{
    series:{
      stacking:'normal',
      groupPadding:0,
      pointPlacement:'on',
      shadow: true
    }
  },
  legend: {
      borderWidth: 0,
      itemStyle: { fontWeight: "normal" },
      symbolRadius: 0
  },
  series:[
      {
      name:'OK',
      data:numberOfRequestsData.oks,
      color:"#68b65c"
    },
    {
      name:'KO',
      data:numberOfRequestsData.kos,
      color:"#f15b4f"
    }
  ]
});

	    $('#container_exceptions').sortable('#container_exceptions');
    

function generateHtmlRow(request, level, index, parent, group) {
    if (request.name == 'All Requests')
        var url = 'index.html';
    else
        var url = request.pathFormatted + '.html';

    if (group)
        var expandButtonStyle = '';
    else
        var expandButtonStyle = ' hidden';

    if (request.stats.numberOfRequests.total != 0)
        var koPercent = (request.stats.numberOfRequests.ko * 100 / request.stats.numberOfRequests.total).toFixed(0) + '%';
    else
        var koPercent = '-'

    return '<tr id="' + request.pathFormatted + '" data-parent=' + parent + '> \
        <td class="total col-1"> \
          <div class="expandable-container"> \
            <span id="' + request.pathFormatted + '" style="margin-left: ' + (level * 10) + 'px;" class="expand-button' + expandButtonStyle + '">&nbsp;</span> \
            <a href="' + url +'" class="withTooltip">' + ellipsedLabel({ name: request.name, parentClass: "table-cell-tooltip" }) + '</a><span class="value" style="display:none;">' + index + '</span> \
          </div> \
        </td> \
        <td class="value total col-2">' + request.stats.numberOfRequests.total + '</td> \
        <td class="value ok col-3">' + request.stats.numberOfRequests.ok + '</td> \
        <td class="value ko col-4">' + request.stats.numberOfRequests.ko + '</td> \
        <td class="value ko col-5">' + koPercent + '</td> \
        <td class="value total col-6">' + request.stats.meanNumberOfRequestsPerSecond.total + '</td> \
        <td class="value total col-7">' + request.stats.minResponseTime.total + '</td> \
        <td class="value total col-8">' + request.stats.percentiles1.total + '</td> \
        <td class="value total col-9">' + request.stats.percentiles2.total + '</td> \
        <td class="value total col-10">' + request.stats.percentiles3.total + '</td> \
        <td class="value total col-11">' + request.stats.percentiles4.total + '</td> \
        <td class="value total col-12">' + request.stats.maxResponseTime.total + '</td> \
        <td class="value total col-13">' + request.stats.meanResponseTime.total + '</td> \
        <td class="value total col-14">' + request.stats.standardDeviation.total + '</td> \
        </tr>';
}

function generateHtmlRowsForGroup(group, level, index, parent) {
    var buffer = '';

    if (!parent)
        parent = 'ROOT';
    else {
        buffer += generateHtmlRow(group, level - 1, index, parent, true);
        index++;
        parent = group.pathFormatted;
    }

    $.each(group.contents, function(contentName, content) {
        if (content.type == 'GROUP') {
            var result = generateHtmlRowsForGroup(content, level + 1, index, parent);
            buffer += result.html;
            index = result.index;
        }
        else if (content.type == 'REQUEST') {
            buffer += generateHtmlRow(content, level, index, parent);
            index++;
        }
    });

    return { html: buffer, index: index };
}

$('#container_statistics_head tbody').append(generateHtmlRow(stats, 0, 0));

var lines = generateHtmlRowsForGroup(stats, 0, 0);
$('#container_statistics_body tbody').append(lines.html);

$('#container_statistics_head').sortable('#container_statistics_body');
$('.statistics').expandable();

if (lines.index < 30) {
    $('#statistics_title span').attr('style', 'display: none;');
} else {
    $('#statistics_title').addClass('title_collapsed');
    $('#statistics_title').click(function() {
        $('#toggle-stats').toggleClass("off");
        $(this).toggleClass('title_collapsed').toggleClass('title_expanded');
        $('#container_statistics_body').parent().toggleClass('scrollable').toggleClass('');
    });
}
$('.table-cell-tooltip').popover({trigger:'hover'});

	    $('#container_errors').sortable('#container_errors');
    
allUsersData.yAxis = 0;

var allUsersChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'active_users',
    zoomType: 'x'
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    align: 'right',
    verticalAlign: 'top',
    layout: 'vertical',
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis: {
    title: { text: 'Number of Active Users' },
    opposite: false,
    min: 0
  },
  series: [
    {
color: '#5E7BE2',
name: 'Busca Inválida de Pessoas',
data: [
  [1692803043000,3],[1692803044000,2],[1692803045000,2],[1692803046000,2],[1692803047000,2],[1692803048000,2],[1692803049000,2],[1692803050000,2],[1692803051000,2],[1692803052000,2],[1692803053000,2],[1692803054000,3],[1692803055000,2],[1692803056000,2],[1692803057000,2],[1692803058000,2],[1692803059000,2],[1692803060000,2],[1692803061000,2],[1692803062000,2],[1692803063000,2],[1692803064000,2],[1692803065000,3],[1692803066000,2],[1692803067000,2],[1692803068000,6],[1692803069000,6],[1692803070000,6],[1692803071000,7],[1692803072000,7],[1692803073000,7],[1692803074000,7],[1692803075000,8],[1692803076000,7],[1692803077000,8],[1692803078000,8],[1692803079000,8],[1692803080000,8],[1692803081000,9],[1692803082000,9],[1692803083000,9],[1692803084000,9],[1692803085000,9],[1692803086000,10],[1692803087000,9],[1692803088000,10],[1692803089000,10],[1692803090000,10],[1692803091000,11],[1692803092000,11],[1692803093000,10],[1692803094000,11],[1692803095000,12],[1692803096000,11],[1692803097000,12],[1692803098000,11],[1692803099000,12],[1692803100000,12],[1692803101000,13],[1692803102000,12],[1692803103000,13],[1692803104000,13],[1692803105000,13],[1692803106000,13],[1692803107000,14],[1692803108000,13],[1692803109000,14],[1692803110000,14],[1692803111000,14],[1692803112000,15],[1692803113000,14],[1692803114000,15],[1692803115000,15],[1692803116000,15],[1692803117000,16],[1692803118000,15],[1692803119000,16],[1692803120000,16],[1692803121000,16],[1692803122000,16],[1692803123000,17],[1692803124000,16],[1692803125000,17],[1692803126000,17],[1692803127000,18],[1692803128000,17],[1692803129000,18],[1692803130000,17],[1692803131000,18],[1692803132000,19],[1692803133000,18],[1692803134000,18],[1692803135000,19],[1692803136000,20],[1692803137000,19],[1692803138000,20],[1692803139000,19],[1692803140000,20],[1692803141000,20],[1692803142000,20],[1692803143000,20],[1692803144000,20],[1692803145000,21],[1692803146000,21],[1692803147000,21],[1692803148000,21],[1692803149000,22],[1692803150000,21],[1692803151000,22],[1692803152000,22],[1692803153000,22],[1692803154000,22],[1692803155000,23],[1692803156000,23],[1692803157000,23],[1692803158000,23],[1692803159000,31],[1692803160000,23],[1692803161000,24],[1692803162000,30],[1692803163000,24],[1692803164000,24],[1692803165000,25],[1692803166000,24],[1692803167000,25],[1692803168000,25],[1692803169000,25],[1692803170000,25],[1692803171000,26],[1692803172000,26],[1692803173000,26],[1692803174000,26],[1692803175000,26],[1692803176000,27],[1692803177000,26],[1692803178000,28],[1692803179000,27],[1692803180000,27],[1692803181000,29],[1692803182000,28],[1692803183000,28],[1692803184000,29],[1692803185000,30],[1692803186000,29],[1692803187000,29],[1692803188000,29],[1692803189000,29],[1692803190000,30],[1692803191000,30],[1692803192000,30],[1692803193000,30],[1692803194000,32],[1692803195000,30],[1692803196000,32],[1692803197000,31],[1692803198000,32],[1692803199000,31],[1692803200000,34],[1692803201000,31],[1692803202000,33],[1692803203000,31],[1692803204000,35],[1692803205000,32],[1692803206000,36],[1692803207000,33],[1692803208000,40],[1692803209000,40],[1692803210000,45],[1692803211000,66],[1692803212000,69],[1692803213000,102],[1692803214000,107],[1692803215000,141],[1692803216000,153],[1692803217000,171],[1692803218000,140],[1692803219000,157],[1692803220000,155],[1692803221000,178],[1692803222000,153],[1692803223000,144],[1692803224000,169],[1692803225000,147],[1692803226000,153],[1692803227000,152],[1692803228000,152],[1692803229000,169],[1692803230000,141],[1692803231000,144],[1692803232000,129],[1692803233000,128],[1692803234000,111],[1692803235000,107],[1692803236000,92],[1692803237000,106],[1692803238000,106],[1692803239000,125],[1692803240000,121],[1692803241000,83],[1692803242000,48],[1692803243000,69],[1692803244000,58],[1692803245000,78],[1692803246000,89],[1692803247000,79],[1692803248000,22]
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},
{
color: '#68b65c',
name: 'Busca Válida de Pessoas',
data: [
  [1692803043000,3],[1692803044000,2],[1692803045000,2],[1692803046000,2],[1692803047000,2],[1692803048000,2],[1692803049000,2],[1692803050000,2],[1692803051000,2],[1692803052000,2],[1692803053000,2],[1692803054000,3],[1692803055000,2],[1692803056000,2],[1692803057000,2],[1692803058000,2],[1692803059000,2],[1692803060000,2],[1692803061000,2],[1692803062000,2],[1692803063000,2],[1692803064000,2],[1692803065000,3],[1692803066000,2],[1692803067000,2],[1692803068000,6],[1692803069000,7],[1692803070000,7],[1692803071000,8],[1692803072000,8],[1692803073000,9],[1692803074000,9],[1692803075000,10],[1692803076000,11],[1692803077000,11],[1692803078000,11],[1692803079000,12],[1692803080000,13],[1692803081000,13],[1692803082000,13],[1692803083000,14],[1692803084000,15],[1692803085000,15],[1692803086000,16],[1692803087000,16],[1692803088000,17],[1692803089000,17],[1692803090000,18],[1692803091000,18],[1692803092000,19],[1692803093000,19],[1692803094000,20],[1692803095000,20],[1692803096000,21],[1692803097000,22],[1692803098000,21],[1692803099000,23],[1692803100000,23],[1692803101000,23],[1692803102000,24],[1692803103000,25],[1692803104000,25],[1692803105000,26],[1692803106000,26],[1692803107000,26],[1692803108000,28],[1692803109000,28],[1692803110000,29],[1692803111000,29],[1692803112000,29],[1692803113000,30],[1692803114000,30],[1692803115000,31],[1692803116000,31],[1692803117000,32],[1692803118000,33],[1692803119000,33],[1692803120000,33],[1692803121000,34],[1692803122000,34],[1692803123000,35],[1692803124000,36],[1692803125000,37],[1692803126000,36],[1692803127000,38],[1692803128000,37],[1692803129000,38],[1692803130000,39],[1692803131000,39],[1692803132000,40],[1692803133000,40],[1692803134000,41],[1692803135000,41],[1692803136000,42],[1692803137000,42],[1692803138000,43],[1692803139000,43],[1692803140000,44],[1692803141000,44],[1692803142000,45],[1692803143000,46],[1692803144000,46],[1692803145000,46],[1692803146000,47],[1692803147000,48],[1692803148000,48],[1692803149000,48],[1692803150000,49],[1692803151000,50],[1692803152000,50],[1692803153000,51],[1692803154000,51],[1692803155000,52],[1692803156000,52],[1692803157000,54],[1692803158000,53],[1692803159000,73],[1692803160000,54],[1692803161000,55],[1692803162000,68],[1692803163000,57],[1692803164000,57],[1692803165000,58],[1692803166000,58],[1692803167000,59],[1692803168000,59],[1692803169000,60],[1692803170000,60],[1692803171000,62],[1692803172000,61],[1692803173000,62],[1692803174000,64],[1692803175000,64],[1692803176000,64],[1692803177000,63],[1692803178000,66],[1692803179000,64],[1692803180000,66],[1692803181000,65],[1692803182000,67],[1692803183000,66],[1692803184000,69],[1692803185000,67],[1692803186000,69],[1692803187000,69],[1692803188000,69],[1692803189000,70],[1692803190000,71],[1692803191000,70],[1692803192000,72],[1692803193000,72],[1692803194000,77],[1692803195000,74],[1692803196000,76],[1692803197000,73],[1692803198000,78],[1692803199000,75],[1692803200000,81],[1692803201000,76],[1692803202000,79],[1692803203000,77],[1692803204000,84],[1692803205000,78],[1692803206000,88],[1692803207000,79],[1692803208000,97],[1692803209000,96],[1692803210000,109],[1692803211000,160],[1692803212000,165],[1692803213000,244],[1692803214000,261],[1692803215000,340],[1692803216000,376],[1692803217000,422],[1692803218000,349],[1692803219000,383],[1692803220000,382],[1692803221000,445],[1692803222000,373],[1692803223000,348],[1692803224000,408],[1692803225000,366],[1692803226000,374],[1692803227000,384],[1692803228000,373],[1692803229000,415],[1692803230000,351],[1692803231000,355],[1692803232000,323],[1692803233000,311],[1692803234000,280],[1692803235000,268],[1692803236000,225],[1692803237000,264],[1692803238000,261],[1692803239000,313],[1692803240000,304],[1692803241000,209],[1692803242000,113],[1692803243000,163],[1692803244000,147],[1692803245000,197],[1692803246000,218],[1692803247000,198],[1692803248000,60]
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},
{
color: '#f15b4f',
name: 'Criação E Talvez Consulta de Pessoas',
data: [
  [1692803043000,3],[1692803044000,2],[1692803045000,3],[1692803046000,2],[1692803047000,2],[1692803048000,3],[1692803049000,2],[1692803050000,2],[1692803051000,2],[1692803052000,1],[1692803053000,5],[1692803054000,6],[1692803055000,10],[1692803056000,2],[1692803057000,8],[1692803058000,2],[1692803059000,2],[1692803060000,3],[1692803061000,5],[1692803062000,9],[1692803063000,1],[1692803064000,7],[1692803065000,1],[1692803066000,2],[1692803067000,6],[1692803068000,7],[1692803069000,11],[1692803070000,14],[1692803071000,18],[1692803072000,21],[1692803073000,25],[1692803074000,28],[1692803075000,32],[1692803076000,36],[1692803077000,41],[1692803078000,42],[1692803079000,46],[1692803080000,47],[1692803081000,52],[1692803082000,56],[1692803083000,59],[1692803084000,62],[1692803085000,65],[1692803086000,69],[1692803087000,72],[1692803088000,76],[1692803089000,79],[1692803090000,84],[1692803091000,86],[1692803092000,89],[1692803093000,93],[1692803094000,96],[1692803095000,99],[1692803096000,102],[1692803097000,105],[1692803098000,107],[1692803099000,113],[1692803100000,118],[1692803101000,122],[1692803102000,122],[1692803103000,127],[1692803104000,130],[1692803105000,133],[1692803106000,136],[1692803107000,139],[1692803108000,143],[1692803109000,147],[1692803110000,150],[1692803111000,154],[1692803112000,157],[1692803113000,161],[1692803114000,165],[1692803115000,167],[1692803116000,169],[1692803117000,172],[1692803118000,176],[1692803119000,180],[1692803120000,182],[1692803121000,186],[1692803122000,189],[1692803123000,191],[1692803124000,197],[1692803125000,202],[1692803126000,202],[1692803127000,208],[1692803128000,208],[1692803129000,213],[1692803130000,216],[1692803131000,220],[1692803132000,222],[1692803133000,226],[1692803134000,229],[1692803135000,234],[1692803136000,237],[1692803137000,240],[1692803138000,241],[1692803139000,245],[1692803140000,247],[1692803141000,253],[1692803142000,256],[1692803143000,258],[1692803144000,262],[1692803145000,266],[1692803146000,272],[1692803147000,274],[1692803148000,276],[1692803149000,282],[1692803150000,282],[1692803151000,286],[1692803152000,292],[1692803153000,294],[1692803154000,296],[1692803155000,301],[1692803156000,303],[1692803157000,311],[1692803158000,308],[1692803159000,422],[1692803160000,317],[1692803161000,324],[1692803162000,386],[1692803163000,332],[1692803164000,330],[1692803165000,336],[1692803166000,338],[1692803167000,344],[1692803168000,343],[1692803169000,349],[1692803170000,352],[1692803171000,361],[1692803172000,359],[1692803173000,365],[1692803174000,372],[1692803175000,375],[1692803176000,373],[1692803177000,374],[1692803178000,388],[1692803179000,383],[1692803180000,387],[1692803181000,386],[1692803182000,396],[1692803183000,394],[1692803184000,400],[1692803185000,400],[1692803186000,408],[1692803187000,408],[1692803188000,418],[1692803189000,414],[1692803190000,424],[1692803191000,422],[1692803192000,429],[1692803193000,426],[1692803194000,451],[1692803195000,436],[1692803196000,460],[1692803197000,440],[1692803198000,463],[1692803199000,450],[1692803200000,492],[1692803201000,454],[1692803202000,484],[1692803203000,462],[1692803204000,503],[1692803205000,467],[1692803206000,548],[1692803207000,503],[1692803208000,578],[1692803209000,607],[1692803210000,647],[1692803211000,959],[1692803212000,984],[1692803213000,1456],[1692803214000,1578],[1692803215000,2064],[1692803216000,2233],[1692803217000,2511],[1692803218000,2062],[1692803219000,2309],[1692803220000,2266],[1692803221000,2633],[1692803222000,2215],[1692803223000,2085],[1692803224000,2419],[1692803225000,2174],[1692803226000,2217],[1692803227000,2320],[1692803228000,2220],[1692803229000,2541],[1692803230000,2087],[1692803231000,2110],[1692803232000,1948],[1692803233000,1867],[1692803234000,1672],[1692803235000,1605],[1692803236000,1414],[1692803237000,1581],[1692803238000,1593],[1692803239000,1900],[1692803240000,1838],[1692803241000,1283],[1692803242000,729],[1692803243000,971],[1692803244000,881],[1692803245000,1170],[1692803246000,1336],[1692803247000,1193],[1692803248000,358]
],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }},

    allUsersData
  ]
});


allUsersChart.setTitle({
  text: '<span class="chart_title">Active Users along the Simulation</span>',
  useHTML: true
});

allUsersData.yAxis = 1;

var responsetimeDistributionChart = new Highcharts.Chart({
  chart: {
    renderTo: 'responsetimeDistributionContainer',
    type: 'column',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: 5,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  xAxis: {
    categories: ['32', '97', '162', '227', '292', '357', '422', '487', '552', '617', '682', '746', '811', '876', '941', '1006', '1071', '1136', '1201', '1266', '1331', '1396', '1460', '1525', '1590', '1655', '1720', '1785', '1850', '1915', '1980', '2045', '2110', '2174', '2239', '2304', '2369', '2434', '2499', '2564', '2629', '2694', '2759', '2824', '2888', '2953', '3018', '3083', '3148', '3213', '3278', '3343', '3408', '3473', '3538', '3603', '3667', '3732', '3797', '3862', '3927', '3992', '4057', '4122', '4187', '4252', '4317', '4381', '4446', '4511', '4576', '4641', '4706', '4771', '4836', '4901', '4966', '5031', '5095', '5160', '5225', '5290', '5355', '5420', '5485', '5550', '5615', '5680', '5745', '5809', '5874', '5939', '6004', '6069', '6134', '6199', '6264', '6329', '6394', '6459'],
    tickInterval: 20
  },
  yAxis: {
    min: 0,
    title: { text: 'Percentage of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      return '<b>'+ this.x +' ms</b><br/>'+
      this.series.name +': '+ this.y +' %<br/>'+
      'Total: '+ this.point.stackTotal + ' %';
    }
  },
  plotOptions: {
    series: {
      groupPadding: 0,
      stacking: 'normal',
	    shadow: true
    }
  },
  series: [
  	{
type: 'column',
color: '#68b65c',
name: 'OK',
data: [
  0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.01,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
  	{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
  56.85,1.95,1.32,0.84,0.97,0.86,0.84,1.02,0.78,0.8,0.79,0.73,0.72,0.73,0.64,0.55,0.67,0.5,0.48,0.52,0.55,0.44,0.33,0.38,0.75,0.64,0.69,0.73,0.84,0.66,0.72,0.57,0.55,0.64,0.55,0.43,0.59,0.57,0.54,0.36,0.5,0.45,0.7,0.8,0.82,0.89,0.99,0.97,0.76,0.6,0.65,0.6,0.51,0.41,0.56,0.47,0.64,0.68,0.48,0.35,0.32,0.3,0.28,0.27,0.21,0.16,0.15,0.1,0.09,0.07,0.07,0.03,0.04,0.04,0.05,0.05,0.05,0.03,0.03,0.02,0.03,0.03,0.01,0.0,0.0,0.02,0.02,0.02,0.0,0.0,0.0,0.0,0.01,0.01,0.0,0.0,0.0,0.0,0.0,0.0
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
}
  ]
});

responsetimeDistributionChart.setTitle({
  text: '<span class="chart_title">Response Time Distribution</span>',
  useHTML: true
});

var responsetimepercentilesovertimeokPercentiles = unpack([[1692803043,[453,453,453,453,453,453,453,453,453,453]],[1692803044,null],[1692803045,null],[1692803046,null],[1692803047,null],[1692803048,null],[1692803049,null],[1692803050,null],[1692803051,null],[1692803052,null],[1692803053,null],[1692803054,[338,356,374,392,395,399,402,406,409,410]],[1692803055,null],[1692803056,null],[1692803057,null],[1692803058,null],[1692803059,null],[1692803060,null],[1692803061,null],[1692803062,null],[1692803063,null],[1692803064,null],[1692803065,[436,436,436,436,436,436,436,436,436,436]],[1692803066,[1357,1357,1357,1357,1357,1357,1357,1357,1357,1357]],[1692803067,null],[1692803068,null],[1692803069,null],[1692803070,null],[1692803071,null],[1692803072,null],[1692803073,null],[1692803074,null],[1692803075,null],[1692803076,[1367,1367,1367,1367,1367,1367,1367,1367,1367,1367]],[1692803077,[1352,1359,1366,1373,1374,1375,1377,1378,1379,1380]],[1692803078,[1299,1299,1299,1299,1299,1299,1299,1299,1299,1299]],[1692803079,null],[1692803080,null],[1692803081,null],[1692803082,null],[1692803083,null],[1692803084,null],[1692803085,null],[1692803086,null],[1692803087,null],[1692803088,[1381,1381,1381,1381,1381,1381,1381,1381,1381,1381]],[1692803089,[1282,1282,1282,1282,1282,1282,1282,1282,1282,1282]],[1692803090,null],[1692803091,null],[1692803092,null],[1692803093,null],[1692803094,null],[1692803095,null],[1692803096,null],[1692803097,null],[1692803098,null],[1692803099,null],[1692803100,[1369,1369,1369,1369,1369,1369,1369,1369,1369,1369]],[1692803101,[1587,1587,1587,1587,1587,1587,1587,1587,1587,1587]],[1692803102,null],[1692803103,null],[1692803104,null],[1692803105,null],[1692803106,null],[1692803107,null],[1692803108,null],[1692803109,null],[1692803110,null],[1692803111,null],[1692803112,[1384,1384,1384,1384,1384,1384,1384,1384,1384,1384]],[1692803113,[1477,1501,1526,1551,1556,1561,1566,1571,1575,1576]],[1692803114,null],[1692803115,null],[1692803116,null],[1692803117,null],[1692803118,null],[1692803119,null],[1692803120,null],[1692803121,null],[1692803122,null],[1692803123,null],[1692803124,[1382,1382,1382,1382,1382,1382,1382,1382,1382,1382]],[1692803125,[294,294,294,294,294,294,294,294,294,294]],[1692803126,null],[1692803127,null],[1692803128,null],[1692803129,null],[1692803130,null],[1692803131,null],[1692803132,null],[1692803133,null],[1692803134,null],[1692803135,null],[1692803136,[1373,1373,1373,1373,1373,1373,1373,1373,1373,1373]],[1692803137,null],[1692803138,null],[1692803139,null],[1692803140,null],[1692803141,null],[1692803142,null],[1692803143,null],[1692803144,null],[1692803145,null],[1692803146,null],[1692803147,[1281,1281,1281,1281,1281,1281,1281,1281,1281,1281]],[1692803148,[1273,1273,1273,1273,1273,1273,1273,1273,1273,1273]],[1692803149,null],[1692803150,null],[1692803151,null],[1692803152,null],[1692803153,null],[1692803154,null],[1692803155,null],[1692803156,null],[1692803157,null],[1692803158,null],[1692803159,[1864,1864,1864,1864,1864,1864,1864,1864,1864,1864]],[1692803160,[411,756,1101,1446,1515,1584,1653,1722,1778,1792]],[1692803161,null],[1692803162,[2596,2596,2596,2596,2596,2596,2596,2596,2596,2596]],[1692803163,null],[1692803164,null],[1692803165,null],[1692803166,null],[1692803167,null],[1692803168,null],[1692803169,null],[1692803170,null],[1692803171,[1588,1588,1588,1588,1588,1588,1588,1588,1588,1588]],[1692803172,[1615,1615,1615,1615,1615,1615,1615,1615,1615,1615]],[1692803173,null],[1692803174,[1388,1388,1388,1388,1388,1388,1388,1388,1388,1388]],[1692803175,null],[1692803176,null],[1692803177,null],[1692803178,null],[1692803179,null],[1692803180,null],[1692803181,null],[1692803182,null],[1692803183,[1575,1575,1575,1575,1575,1575,1575,1575,1575,1575]],[1692803184,null],[1692803185,null],[1692803186,[1389,1389,1389,1389,1389,1389,1389,1389,1389,1389]],[1692803187,null],[1692803188,null],[1692803189,null],[1692803190,null],[1692803191,null],[1692803192,null],[1692803193,null],[1692803194,null],[1692803195,[383,383,383,383,383,383,383,383,383,383]],[1692803196,null],[1692803197,null],[1692803198,[1626,1626,1626,1626,1626,1626,1626,1626,1626,1626]],[1692803199,null],[1692803200,null],[1692803201,null],[1692803202,null],[1692803203,null],[1692803204,null],[1692803205,null],[1692803206,[1672,1672,1672,1672,1672,1672,1672,1672,1672,1672]],[1692803207,null],[1692803208,null],[1692803209,null],[1692803210,[3456,3456,3456,3456,3456,3456,3456,3456,3456,3456]],[1692803211,[4772,4772,4772,4772,4772,4772,4772,4772,4772,4772]],[1692803212,null],[1692803213,null],[1692803214,[5578,5578,5578,5578,5578,5578,5578,5578,5578,5578]],[1692803215,null],[1692803216,[5712,5712,5712,5712,5712,5712,5712,5712,5712,5712]],[1692803217,null],[1692803218,null],[1692803219,null],[1692803220,null],[1692803221,null],[1692803222,[4418,4418,4418,4418,4418,4418,4418,4418,4418,4418]],[1692803223,[5795,5795,5795,5795,5795,5795,5795,5795,5795,5795]],[1692803224,null],[1692803225,null],[1692803226,null],[1692803227,null],[1692803228,[4335,4335,4335,4335,4335,4335,4335,4335,4335,4335]],[1692803229,[4486,4486,4486,4486,4486,4486,4486,4486,4486,4486]],[1692803230,null],[1692803231,null],[1692803232,null],[1692803233,null],[1692803234,null],[1692803235,[3095,3095,3095,3095,3095,3095,3095,3095,3095,3095]],[1692803236,null],[1692803237,null],[1692803238,null],[1692803239,null],[1692803240,null],[1692803241,null],[1692803242,[2733,2733,2733,2733,2733,2733,2733,2733,2733,2733]],[1692803243,null],[1692803244,null],[1692803245,null],[1692803246,null],[1692803247,[1055,1055,1055,1055,1055,1055,1055,1055,1055,1055]],[1692803248,null]]);

var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
    zoomType: 'x',
    marginBottom: 60
  },
  colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false,
    baseSeries: 9
  },
  rangeSelector: {
    rangeSelector: { align: "left" },
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#92918C',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Response Time (ms)' },
      opposite: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  plotOptions: {
    arearange: { lineWidth: 1 },
    series: {
      dataGrouping: { enabled: false }
    }
  },
  series: [
  
    
         {
pointInterval: 1000,
name: 'min',
data: responsetimepercentilesovertimeokPercentiles[0],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 10
},
         {
pointInterval: 1000,
name: '25%',
data: responsetimepercentilesovertimeokPercentiles[1],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 9
},
         {
pointInterval: 1000,
name: '50%',
data: responsetimepercentilesovertimeokPercentiles[2],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 8
},
         {
pointInterval: 1000,
name: '75%',
data: responsetimepercentilesovertimeokPercentiles[3],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 7
},
         {
pointInterval: 1000,
name: '80%',
data: responsetimepercentilesovertimeokPercentiles[4],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 6
},
         {
pointInterval: 1000,
name: '85%',
data: responsetimepercentilesovertimeokPercentiles[5],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 5
},
         {
pointInterval: 1000,
name: '90%',
data: responsetimepercentilesovertimeokPercentiles[6],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 4
},
         {
pointInterval: 1000,
name: '95%',
data: responsetimepercentilesovertimeokPercentiles[7],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 3
},
         {
pointInterval: 1000,
name: '99%',
data: responsetimepercentilesovertimeokPercentiles[8],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 2
},
         {
pointInterval: 1000,
name: 'max',
data: responsetimepercentilesovertimeokPercentiles[9],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 1
},
  allUsersData
  ]
});

responsetimepercentilesovertimeokPercentilesChart.setTitle({
  text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  useHTML: true
});

var requests = unpack([[1692803043,[6,1,5]],[1692803044,[6,0,6]],[1692803045,[6,0,6]],[1692803046,[6,0,6]],[1692803047,[6,0,6]],[1692803048,[6,0,6]],[1692803049,[6,0,6]],[1692803050,[6,0,6]],[1692803051,[6,0,6]],[1692803052,[6,0,6]],[1692803053,[7,0,7]],[1692803054,[8,2,6]],[1692803055,[14,0,14]],[1692803056,[9,0,9]],[1692803057,[11,0,11]],[1692803058,[7,0,7]],[1692803059,[5,0,5]],[1692803060,[8,0,8]],[1692803061,[7,0,7]],[1692803062,[10,0,10]],[1692803063,[10,0,10]],[1692803064,[5,0,5]],[1692803065,[10,1,9]],[1692803066,[5,1,4]],[1692803067,[9,0,9]],[1692803068,[13,0,13]],[1692803069,[21,0,21]],[1692803070,[26,0,26]],[1692803071,[30,0,30]],[1692803072,[35,0,35]],[1692803073,[37,0,37]],[1692803074,[42,0,42]],[1692803075,[47,0,47]],[1692803076,[50,1,49]],[1692803077,[56,2,54]],[1692803078,[58,1,57]],[1692803079,[63,0,63]],[1692803080,[66,0,66]],[1692803081,[70,0,70]],[1692803082,[74,0,74]],[1692803083,[79,0,79]],[1692803084,[82,0,82]],[1692803085,[87,0,87]],[1692803086,[90,0,90]],[1692803087,[94,0,94]],[1692803088,[100,1,99]],[1692803089,[103,1,102]],[1692803090,[106,0,106]],[1692803091,[110,0,110]],[1692803092,[116,0,116]],[1692803093,[119,0,119]],[1692803094,[120,0,120]],[1692803095,[127,0,127]],[1692803096,[131,0,131]],[1692803097,[135,0,135]],[1692803098,[138,0,138]],[1692803099,[142,0,142]],[1692803100,[147,1,146]],[1692803101,[151,1,150]],[1692803102,[155,0,155]],[1692803103,[159,0,159]],[1692803104,[163,0,163]],[1692803105,[165,0,165]],[1692803106,[172,0,172]],[1692803107,[175,0,175]],[1692803108,[178,0,178]],[1692803109,[182,0,182]],[1692803110,[186,0,186]],[1692803111,[192,0,192]],[1692803112,[195,1,194]],[1692803113,[200,2,198]],[1692803114,[203,0,203]],[1692803115,[207,0,207]],[1692803116,[210,0,210]],[1692803117,[215,0,215]],[1692803118,[220,0,220]],[1692803119,[221,0,221]],[1692803120,[227,0,227]],[1692803121,[231,0,231]],[1692803122,[235,0,235]],[1692803123,[238,0,238]],[1692803124,[243,1,242]],[1692803125,[248,1,247]],[1692803126,[251,0,251]],[1692803127,[255,0,255]],[1692803128,[259,0,259]],[1692803129,[262,0,262]],[1692803130,[267,0,267]],[1692803131,[270,0,270]],[1692803132,[276,0,276]],[1692803133,[279,0,279]],[1692803134,[282,0,282]],[1692803135,[287,0,287]],[1692803136,[291,1,290]],[1692803137,[297,0,297]],[1692803138,[299,0,299]],[1692803139,[303,0,303]],[1692803140,[306,0,306]],[1692803141,[310,0,310]],[1692803142,[316,0,316]],[1692803143,[319,0,319]],[1692803144,[322,0,322]],[1692803145,[327,0,327]],[1692803146,[332,0,332]],[1692803147,[335,1,334]],[1692803148,[340,1,339]],[1692803149,[343,0,343]],[1692803150,[348,0,348]],[1692803151,[350,0,350]],[1692803152,[356,0,356]],[1692803153,[359,0,359]],[1692803154,[363,0,363]],[1692803155,[367,0,367]],[1692803156,[372,0,372]],[1692803157,[376,0,376]],[1692803158,[378,0,378]],[1692803159,[383,1,382]],[1692803160,[388,2,386]],[1692803161,[391,0,391]],[1692803162,[397,1,396]],[1692803163,[398,0,398]],[1692803164,[403,0,403]],[1692803165,[408,0,408]],[1692803166,[411,0,411]],[1692803167,[416,0,416]],[1692803168,[418,0,418]],[1692803169,[424,0,424]],[1692803170,[428,0,428]],[1692803171,[430,1,429]],[1692803172,[437,1,436]],[1692803173,[439,0,439]],[1692803174,[444,1,443]],[1692803175,[449,0,449]],[1692803176,[451,0,451]],[1692803177,[455,0,455]],[1692803178,[460,0,460]],[1692803179,[463,0,463]],[1692803180,[467,0,467]],[1692803181,[471,0,471]],[1692803182,[477,0,477]],[1692803183,[480,1,479]],[1692803184,[482,0,482]],[1692803185,[488,0,488]],[1692803186,[491,1,490]],[1692803187,[498,0,498]],[1692803188,[499,0,499]],[1692803189,[503,0,503]],[1692803190,[507,0,507]],[1692803191,[513,0,513]],[1692803192,[513,0,513]],[1692803193,[522,0,522]],[1692803194,[523,0,523]],[1692803195,[529,1,528]],[1692803196,[531,0,531]],[1692803197,[535,0,535]],[1692803198,[540,1,539]],[1692803199,[543,0,543]],[1692803200,[549,0,549]],[1692803201,[550,0,550]],[1692803202,[557,0,557]],[1692803203,[559,0,559]],[1692803204,[564,0,564]],[1692803205,[568,0,568]],[1692803206,[571,1,570]],[1692803207,[576,0,576]],[1692803208,[580,0,580]],[1692803209,[584,0,584]],[1692803210,[587,1,586]],[1692803211,[592,1,591]],[1692803212,[596,0,596]],[1692803213,[600,0,600]],[1692803214,[604,1,603]],[1692803215,[609,0,609]],[1692803216,[611,1,610]],[1692803217,[617,0,617]],[1692803218,[620,0,620]],[1692803219,[623,0,623]],[1692803220,[629,0,629]],[1692803221,[630,0,630]],[1692803222,[638,1,637]],[1692803223,[640,1,639]],[1692803224,[643,0,643]],[1692803225,[649,0,649]],[1692803226,[651,0,651]],[1692803227,[657,0,657]],[1692803228,[660,1,659]],[1692803229,[664,1,663]],[1692803230,[666,0,666]],[1692803231,[673,0,673]],[1692803232,[677,0,677]],[1692803233,[680,0,680]],[1692803234,[684,0,684]],[1692803235,[689,1,688]],[1692803236,[692,0,692]],[1692803237,[696,0,696]],[1692803238,[701,0,701]],[1692803239,[703,0,703]],[1692803240,[709,0,709]],[1692803241,[711,0,711]],[1692803242,[717,1,716]],[1692803243,[720,0,720]],[1692803244,[724,0,724]],[1692803245,[729,0,729]],[1692803246,[732,0,732]],[1692803247,[737,1,736]],[1692803248,[343,0,343]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'requests',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of requests' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: requests[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData
  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of requests per second</span>',
  useHTML: true
});

var responses = unpack([[1692803043,[6,1,5]],[1692803044,[6,0,6]],[1692803045,[6,0,6]],[1692803046,[6,0,6]],[1692803047,[6,0,6]],[1692803048,[6,0,6]],[1692803049,[6,0,6]],[1692803050,[6,0,6]],[1692803051,[6,0,6]],[1692803052,[6,0,6]],[1692803053,[7,0,7]],[1692803054,[6,1,5]],[1692803055,[16,1,15]],[1692803056,[9,0,9]],[1692803057,[11,0,11]],[1692803058,[7,0,7]],[1692803059,[5,0,5]],[1692803060,[8,0,8]],[1692803061,[7,0,7]],[1692803062,[10,0,10]],[1692803063,[10,0,10]],[1692803064,[5,0,5]],[1692803065,[9,1,8]],[1692803066,[5,0,5]],[1692803067,[10,1,9]],[1692803068,[13,0,13]],[1692803069,[21,0,21]],[1692803070,[26,0,26]],[1692803071,[30,0,30]],[1692803072,[35,0,35]],[1692803073,[37,0,37]],[1692803074,[42,0,42]],[1692803075,[47,0,47]],[1692803076,[49,0,49]],[1692803077,[55,1,54]],[1692803078,[58,1,57]],[1692803079,[64,1,63]],[1692803080,[67,1,66]],[1692803081,[70,0,70]],[1692803082,[74,0,74]],[1692803083,[79,0,79]],[1692803084,[81,0,81]],[1692803085,[87,0,87]],[1692803086,[91,0,91]],[1692803087,[94,0,94]],[1692803088,[98,0,98]],[1692803089,[104,1,103]],[1692803090,[107,1,106]],[1692803091,[110,0,110]],[1692803092,[116,0,116]],[1692803093,[118,0,118]],[1692803094,[121,0,121]],[1692803095,[127,0,127]],[1692803096,[131,0,131]],[1692803097,[135,0,135]],[1692803098,[138,0,138]],[1692803099,[142,0,142]],[1692803100,[146,0,146]],[1692803101,[151,1,150]],[1692803102,[155,1,154]],[1692803103,[160,0,160]],[1692803104,[163,0,163]],[1692803105,[165,0,165]],[1692803106,[172,0,172]],[1692803107,[175,0,175]],[1692803108,[177,0,177]],[1692803109,[183,0,183]],[1692803110,[186,0,186]],[1692803111,[192,0,192]],[1692803112,[193,0,193]],[1692803113,[199,1,198]],[1692803114,[203,1,202]],[1692803115,[209,1,208]],[1692803116,[211,0,211]],[1692803117,[215,0,215]],[1692803118,[218,0,218]],[1692803119,[223,0,223]],[1692803120,[227,0,227]],[1692803121,[231,0,231]],[1692803122,[235,0,235]],[1692803123,[238,0,238]],[1692803124,[242,0,242]],[1692803125,[249,2,247]],[1692803126,[251,0,251]],[1692803127,[255,0,255]],[1692803128,[259,0,259]],[1692803129,[262,0,262]],[1692803130,[267,0,267]],[1692803131,[270,0,270]],[1692803132,[276,0,276]],[1692803133,[279,0,279]],[1692803134,[282,0,282]],[1692803135,[287,0,287]],[1692803136,[290,0,290]],[1692803137,[298,1,297]],[1692803138,[298,0,298]],[1692803139,[303,0,303]],[1692803140,[306,0,306]],[1692803141,[311,0,311]],[1692803142,[316,0,316]],[1692803143,[319,0,319]],[1692803144,[322,0,322]],[1692803145,[327,0,327]],[1692803146,[332,0,332]],[1692803147,[334,0,334]],[1692803148,[340,1,339]],[1692803149,[344,1,343]],[1692803150,[348,0,348]],[1692803151,[348,0,348]],[1692803152,[356,0,356]],[1692803153,[359,0,359]],[1692803154,[361,0,361]],[1692803155,[368,0,368]],[1692803156,[373,0,373]],[1692803157,[375,0,375]],[1692803158,[368,0,368]],[1692803159,[234,0,234]],[1692803160,[541,1,540]],[1692803161,[350,1,349]],[1692803162,[365,1,364]],[1692803163,[476,0,476]],[1692803164,[406,1,405]],[1692803165,[406,0,406]],[1692803166,[413,0,413]],[1692803167,[407,0,407]],[1692803168,[428,0,428]],[1692803169,[421,0,421]],[1692803170,[430,0,430]],[1692803171,[428,0,428]],[1692803172,[438,1,437]],[1692803173,[436,0,436]],[1692803174,[448,1,447]],[1692803175,[446,1,445]],[1692803176,[455,0,455]],[1692803177,[451,0,451]],[1692803178,[464,0,464]],[1692803179,[460,0,460]],[1692803180,[469,0,469]],[1692803181,[454,0,454]],[1692803182,[494,0,494]],[1692803183,[469,0,469]],[1692803184,[494,1,493]],[1692803185,[485,0,485]],[1692803186,[493,0,493]],[1692803187,[491,1,490]],[1692803188,[507,0,507]],[1692803189,[500,0,500]],[1692803190,[510,0,510]],[1692803191,[509,0,509]],[1692803192,[516,0,516]],[1692803193,[522,0,522]],[1692803194,[386,0,386]],[1692803195,[652,1,651]],[1692803196,[512,0,512]],[1692803197,[568,0,568]],[1692803198,[496,0,496]],[1692803199,[583,1,582]],[1692803200,[453,0,453]],[1692803201,[651,0,651]],[1692803202,[511,0,511]],[1692803203,[605,0,605]],[1692803204,[402,0,402]],[1692803205,[729,0,729]],[1692803206,[342,0,342]],[1692803207,[805,0,805]],[1692803208,[274,1,273]],[1692803209,[890,0,890]],[1692803210,[87,0,87]],[1692803211,[763,0,763]],[1692803212,[24,0,24]],[1692803213,[245,1,244]],[1692803214,[219,0,219]],[1692803215,[61,1,60]],[1692803216,[420,0,420]],[1692803217,[842,0,842]],[1692803218,[714,0,714]],[1692803219,[368,1,367]],[1692803220,[595,0,595]],[1692803221,[964,1,963]],[1692803222,[946,0,946]],[1692803223,[158,0,158]],[1692803224,[527,0,527]],[1692803225,[1073,0,1073]],[1692803226,[119,1,118]],[1692803227,[1196,0,1196]],[1692803228,[137,0,137]],[1692803229,[966,1,965]],[1692803230,[790,0,790]],[1692803231,[596,0,596]],[1692803232,[1318,1,1317]],[1692803233,[967,0,967]],[1692803234,[794,1,793]],[1692803235,[75,0,75]],[1692803236,[1039,0,1039]],[1692803237,[679,0,679]],[1692803238,[568,1,567]],[1692803239,[594,0,594]],[1692803240,[1248,0,1248]],[1692803241,[1230,0,1230]],[1692803242,[868,0,868]],[1692803243,[365,0,365]],[1692803244,[941,0,941]],[1692803245,[260,1,259]],[1692803246,[1206,0,1206]],[1692803247,[418,0,418]],[1692803248,[1124,1,1123]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responses',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of responses' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: responses[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
},
{
color: '#68b65c',
name: 'OK',
data: responses[1],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
{
color: '#f15b4f',
name: 'KO',
data: responses[2],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData,
{
  
type: 'pie',
name: 'Distribution',
data: [
  {name: 'OK', y: 44.0, color: '#68b65c'},{name: 'KO', y: 68389.0, color: '#f15b4f'}
],
center: [775, -40],
size: 70,
showInLegend: false,
dataLabels: { enabled: false },
dataGrouping: { enabled: false }

}

  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of responses per second</span>',
  useHTML: true
});

    });
</script>
</div>
</body>
</html>
